name: pre-commit run_id: commands[0] env HOME: /home/jenkins env LANG: C.UTF-8 env PATH: /w/workspace/odlparent-tox-verify-master/.tox/pre-commit/bin:/opt/pyenv/bin:/tmp/venv-YcXZ/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PIP_USER: 0 env PYTHONHASHSEED: 3107427483 env PYTHONIOENCODING: utf-8 env SSH_AUTH_SOCK: ******************************** env TOX_ENV_DIR: /w/workspace/odlparent-tox-verify-master/.tox/pre-commit env TOX_ENV_NAME: pre-commit env TOX_WORK_DIR: /w/workspace/odlparent-tox-verify-master/.tox env VIRTUAL_ENV: /w/workspace/odlparent-tox-verify-master/.tox/pre-commit env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true metadata pid: 2335 cwd: /w/workspace/odlparent-tox-verify-master allow: /w/workspace/odlparent-tox-verify-master/.tox/pre-commit/bin/* cmd: pre-commit run --all-files exit_code: 1 [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Initializing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Initializing environment for https://github.com/shellcheck-py/shellcheck-py. [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier. [INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:prettier@4.0.0-alpha.8. [INFO] Initializing environment for https://github.com/adrienverge/yamllint. [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/Lucas-C/pre-commit-hooks. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/shellcheck-py/shellcheck-py. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/pre-commit/mirrors-prettier. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... [INFO] Installing environment for https://github.com/adrienverge/yamllint. [INFO] Once installed this environment will be reused. [INFO] This may take a few minutes... trim trailing whitespace.................................................Passed fix end of files.........................................................Failed - hook id: end-of-file-fixer - exit code: 1 - files were modified by this hook Fixing lib/dagger-example/src/main/java/org/opendaylight/odlparent/dagger/example/package-info.java Fixing maven/features-test-plugin/src/main/java/org/opendaylight/odlparent/features/test/plugin/TestFeaturesMojo.java Fixing maven/features-test-plugin/src/main/java/org/opendaylight/odlparent/features/test/plugin/DependencyResolver.java Fixing lib/dagger-example/src/main/java/org/opendaylight/odlparent/dagger/example/dagger/package-info.java Fixing maven/features-test-plugin/src/main/java/org/opendaylight/odlparent/features/test/plugin/PaxOptionUtils.java Fixing lib/logging-markers/src/main/java/module-info.java Fixing karaf/opendaylight-karaf-resources/src/main/resources/etc/custom.properties Fixing maven/features-test-plugin/src/main/java/org/opendaylight/odlparent/features/test/plugin/FeatureDependency.java Fixing lib/bundles-test-lib/src/main/java/org/opendaylight/odlparent/bundlestest/lib/BundleDiagInfos.java Fixing maven/features-test-plugin/src/main/java/org/opendaylight/odlparent/features/test/plugin/PaxExamExecution.java Fixing maven/features-test-plugin/src/main/java/org/opendaylight/odlparent/features/test/plugin/DependencyUtils.java Fixing lib/logging-markers/src/main/java/org/opendaylight/odlparent/logging/markers/package-info.java check yaml...............................................................Passed check xml................................................................Passed check json...........................................(no files to check)Skipped check for added large files..............................................Passed check for merge conflicts................................................Passed check for case conflicts.................................................Passed mixed line ending........................................................Failed - hook id: mixed-line-ending - exit code: 1 - files were modified by this hook Karaf-NOTICE: fixed mixed line endings Tabs remover.............................................................Failed - hook id: remove-tabs - exit code: 1 - files were modified by this hook Substituting tabs in: scripts/fix-jsr305 by 4 whitespaces Tabs have been successfully removed. Now aborting the commit. You can check the changes made. Then simply "git add --update ." and re-commit shellcheck...............................................................Failed - hook id: shellcheck - exit code: 1 In scripts/bump-odl-version line 23: for file in $(find . -type f -name pom.xml | xargs grep -l ${curver}) ^--------------------------^ SC2038 (warning): Use 'find .. -print0 | xargs -0 ..' or 'find .. -exec .. +' to allow non-alphanumeric filenames. For more information: https://www.shellcheck.net/wiki/SC2038 -- Use 'find .. -print0 | xargs -0 .... prettier.................................................................Passed yamllint.................................................................Passed